/*
 * 选择器项
 * */
export interface SelectorCol {
  text: string;
  value: string;
}

/*
 * 字典项
 * */
export interface DictItem {
  dictKey: string;
  dictValue: string;
  remark: string;
  sort: number;
  isSelected: boolean;
}

/*
 * 舱位项
 * */
export interface HoldItem {
  hold: string;
  holdName: string;
  isSelected: boolean;
}

/*
 * 机械树形
 * */
export interface MachineTreeItem {
  machineKind: string;
  machineKindName: string;
  machineList: MachineItem[];
}

/*
 * 机械数据
 * */
export interface MachineItem {
  machineId: string;
  machineName: string;
  fullMachineName: string;
  teamName: string;
  teamId: string;
  isSelected: boolean;
}

/*
 * 场存数据
 * */
export interface StorageData {
  id: string;
  transportShipId: string;
  transportBillId: string;
  tShipBillId: string;
  areaId: string;
  areaName: string;
  positionId: string;
  positionName: string;
  spot: string;
  packageType: string;
  packageTypeName: string;
  piece: number;
  ton: string;
  isActive: string;
  goodsPositionId: string;
  areaCode: string;
}

/*
 * 退关数据
 * */
export interface RetreatTallyItem {
  tallyId: string;
  stockType: string;
  tallyDate: string;
  timeSpace: string;
  timeSpaceName: string;
  tallyType: string;
  tallyTypeName: string;
  tallyPiece: number;
  tallyTon: number;
  createTime: string;
  createUserName: string;
}

/*
 * 配工项
 * */
export interface ArrangeItem {
  walId: string;
  lineNo: string;
  planDate: string;
  timeSpace: string;
  timeSpaceName: string;
  loadType: string;
  loadTypeName: string;
  packageBulk: string;
  packageBulkName: string;
  landWorkType: string;
  landWorkTypeName: string;
  areaNames: string;
  info: string;
  isChecked: boolean;
}

export interface ShipArrangeItem {
  wasId: string;
  shipId: string;
  shipName: string;
  lineNo: string;
  planDate: string;
  shiftKey: string;
  shiftKeyName: string;
  startTime: string;
  endTime: string;
  holds: string;
  holdsName: string;
  holdsList: HoldItem[];
  isChecked: boolean;
}

/*
 * 作业过程项
 * */
export interface ProcessData {
  id: string;
  name: string;
  shipLand: string;
  shipLandName: string;
  tallyType: string;
  tallyTypeName: string;
  sort: number;
  isSelected: boolean;
}

/*
* 场存项
* */
export interface StorageItem {
  id: string;
  transportShipId: string;
  transportBillId: string;
  tShipBillId: string;
  areaId: string;
  areaName: string;
  positionId: string;
  positionName: string;
  spot: string;
  packageType: string;
  packageTypeName: string;
  piece: number;
  ton: string;
  isActive: string;
  isChecked: boolean;
  goodsPositionId: string;
  areaCode: string;
}

export interface PositionData {
  areaId: string;
  areaName: string;
  code: string;
  id: string;
  name: string;
  storageId: string;
}

export interface PackageTypeData {
  transportPackageTypeId: string;
  customsPackageCode: string;
  packageNameZh: string;
  packInfo: string;
}

export type HistoryItemHeader = {
  bg: string;
  typeBorder: string;
  text: string;
}

export interface BulkTallyHistoryItem {
  id: string;
  transportShipId: string;
  shipNameZh: string;
  cargoType: string;
  cargoTypeName: string;
  tallyDate: string;
  timeSpace: string;
  timeSpaceName: string;
  tallyType: string;
  tallyTypeName: string;
  shipLand: string;
  shipLandName: string;
  operationType: string;
  operationTypeName: string;
  workActivity: string;
  workActivityName: string;
  oriAreaId: string;
  oriAreaName: string;
  oriPositionId: string;
  oriPositionName: string;
  oriSpot: string;
  oriTon: number;
  toAreaId: string;
  toAreaName: string;
  toPositionId: string;
  toPositionName: string;
  toSpot: string;
  toTon: number;
  keeper: string;
  keeperName: string;
  isCover: string;
  isBedding: string;
  isSafeProduction: string;
  showPopover: boolean;
  isReuse: boolean;
  isCheck: string;
  isEdit: string;
}

export interface OstTallyHistoryItem {
  id: string;
  transportBillId: string;
  transportShipId: string;
  shipNameZh: string;
  cargoType: string;
  cargoTypeName: string;
  voyage: string;
  iE: string;
  billNo: string;
  tallyDate: string;
  timeSpace: string;
  timeSpaceName: string;
  tallyType: string;
  tallyTypeName: string;
  tallyPackageType: string;
  tallyPackageTypeName: string;
  tallyPiece: number;
  tallyTon: number;
  shipLand: string;
  shipLandName: string;
  operationType: string;
  operationTypeName: string;
  workActivity: string;
  workActivityName: string;
  keeper: string;
  keeperName: string;
  isCover: string;
  isBedding: string;
  isSafeProduction: string;
  showPopover: boolean;
  isReuse: boolean;
  isCheck: string;
  isEdit: string;
}

export interface TstTallyHistoryItem {
  id: string;
  tallyDate: string;
  timeSpace: string;
  timeSpaceName: string;
  tallyType: string;
  tallyTypeName: string;
  workActivity: string;
  workActivityName: string;
  holds: string;
  holdsName: string;
  oriTransportShipId: string;
  oriShipNameZh: string;
  oriTransportBillId: string;
  oriTBillId: string;
  oriCargoType: string;
  oriCargoTypeName: string;
  oriVoyage: string;
  oriIE: string;
  oriBillNo: string;
  oriStorageId: string;
  oriPackageType: string;
  oriPackageTypeName: string;
  oriPiece: number;
  oriTon: number;
  toTransportShipId: string;
  toShipNameZh: string;
  toTransportBillId: string;
  toTBillId: string;
  toCargoType: string;
  toCargoTypeName: string;
  toVoyage: string;
  toiIE: string;
  toBillNo: string;
  toStorageId: string;
  toPackageType: string;
  toPackageTypeName: string;
  toPiece: string;
  toTon: string;
  remark: string;
  keeper: string;
  keeperName: string;
  isCover: string;
  isBedding: string;
  isSafeProduction: string;
  shipLand: boolean;
  shipLandName: boolean;
  operationType: boolean;
  operationTypeName: boolean;
  showPopover: boolean;
  isReuse: boolean;
  isCheck: string;
  isEdit: string;
}
